<?php


namespace app\web\controller;


use think\Controller;
use think\Env;

class Tt extends Controller
{
    public function index()
    {
        $type = input('type/d', 1);
        if (!in_array($type, [2, 3], true))
        {
            $type = '';
        }
        $this->assign('index', $type);
        $this->assign('oss', Env::get('host.photo'));
        return $this->fetch();
    }
}
